package com.ibeeking.gmc.global.service.common.dos;

import com.ibeeking.found.common.base.BaseDO;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * @ClassName DictValueDo
 * @Description
 * @Author ibeeking
 * @Date 2020-12-02 16:06
 **/
@Data
@TableName("gmc_global_dict_value")
public class DictValueDO extends BaseDO implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 字典类型id
     */
    @TableField(value = "parent_id")
    private Long parentId;

    /**
     * 字典类型编码
     */
    @TableField(value = "type_code")
    private String typeCode;

    /**
     * 标签
     */
    @TableField(value = "label")
    private String label;

    /**
     * 字典值
     */
    @TableField(value = "value")
    private String value;

    /**
     * 是否默认选中，1-是，0-否
     */
    @TableField(value = "is_default")
    private Integer isDefault;

    /**
     * 备注
     */
    @TableField(value = "remark")
    private String remark;

    /**
     * 排序
     */
    @TableField(value = "sort")
    private Integer sort;

    /**
     * 是否启用，1-启用，0-未启用
     */
    @TableField(value = "publish_status")
    private Integer publishStatus;
}
